from rest_framework import viewsets
from app.models import  Registration

from app.serializers.registeration_serializers import RegisterationSerializer


class RegistrationViewSet(viewsets.ModelViewSet):
     queryset = Registration.objects.all()
     serializer_class = RegisterationSerializer
     #新增注册的时候，需要判断开始时间和结束时间是否








